package com.yowasa.xiuxian.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.yowasa.xiuxian.entity.po.XiuXianExtend;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface XiuxianExtendMapper extends MPJBaseMapper<XiuXianExtend> {
    int checkSign(@Param("id") Long id);

    Integer getSignNum(@Param("id") Long id);

    void insertSign(@Param("id") Long id);

    void insertDamage(@Param("id") Long id, @Param("damage") int i, @Param("level") Integer stage);

    List<Map<String, Object>> listDamage(@Param("level") int level);

    Map<String, Object> getTodayDamage(@Param("id")Long id);

    void updateDamage(@Param("id")Long id, @Param("damage")int i);

    void refreshAbyss();

    void addBattleGold(@Param("accountId") Long accountId,@Param("addNum") int addNum,@Param("a")int a);

    void insertDataBind(@Param("userId") String userId, @Param("bingKey") String s);

    String selectBindKey(@Param("userId")String userId);
}
